﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebNext.Domain.Entities
{
	public class AdminSettings : Entity
	{
		public const int MinUserNameLength = 5;
		public const int MaxUserNameLength = 20;

		public const int MinPasswordLength = 5;
		public const int MaxPasswordLength = 20;
		public const int MaxEmailLength = 200;
		
		public const string PasswordStub = "######";
		
		public virtual string UserName
		{
			get;
			set;
		}

		public virtual string Password
		{
			get;
			set;
		}

		public virtual string Email
		{
			get;
			set;
		}

		protected AdminSettings()
		{

		}

		public AdminSettings(string userName, string password, string email)
		{
			this.UserName = userName;
			this.Password = password;
			this.Email = email;
		}
	}
}
